package com.example;

import java.util.*;
import java.util.concurrent.ConcurrentHashMap;

/**
 * Created by yijy on 2017/7/21.
 */
public class Qiuhe {

    public static void main(String[] args) {
        double glf = 533.18;
        double chargeback = 0;
        double amount=6877.51;
        chargeback = MathExtend.subtractDouble(MathExtend
                .subtractDouble(amount,0), 0);
        double sum=glf+chargeback;
        System.out.println(MathExtend.addDouble(glf,chargeback));
        System.out.println(sum);

        System.out.println(MathExtend.round2Ceiling(Double.toString(sum)));
        Integer i = 0;
        Integer j = 0;
        System.out.println(i==j);
        Set set = new HashSet();
        Map map = new HashMap();
        Set set1 = new TreeSet();
        Hashtable mapTable = new Hashtable();
        ConcurrentHashMap concurrentHashMap = new ConcurrentHashMap();
        concurrentHashMap.put("","");
        mapTable.put("","");
        new Thread( () ->System.out.println(123)).start();
    }
}
